package com.zoro.dyformservice.business.user.controller;

import com.zoro.dyformservice.business.user.entity.UserInfoEntity;
import com.zoro.dyformservice.business.user.service.UserInfoQueryService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("user-query")
public class UserInfoQueryController {

    private final UserInfoQueryService userInfoQueryService;

    public UserInfoQueryController(UserInfoQueryService userInfoQueryService) {
        this.userInfoQueryService = userInfoQueryService;
    }

    @GetMapping("query")
    public List<UserInfoEntity> query(UserInfoEntity entity) {
//        todo
        return null;

    }
}
